package fi.iki.joker.mobilogger.db;

public class ImageRepoBean {

	int id;
	String username;
	String password;
	String title;
	
	int interfacetype;
	String postconfig;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getInterfaceType() {
		return interfacetype;
	}
	public void setInterfaceType(int interfacetype) {
		this.interfacetype = interfacetype;
	}
	public String getPostconfig() {
		return postconfig;
	}
	public void setPostconfig(String postconfig) {
		this.postconfig = postconfig;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String toString() {
		if(title != null) {
			return "["+id+"]-"+title;
		} else {
			return "[?]-"+title;
		}
	}
	
}
